#pragma once

#include "OcclusionXAPO.h"
#include "EffectXAPO.h"



class Occlusion: public EffectXAPO
{
public:
	Occlusion(IXAudio2SourceVoice *pVoice, WAVEFORMATEXTENSIBLE* pwfx);
	~Occlusion(void);

	virtual HRESULT apply(void);

	OCCLUSION_PARAMETERS GetOcclusionParameters(void);
	OCCLUSION_PARAMETERS SetOcclusionParameters(const OCCLUSION_PARAMETERS&);


private:
	OCCLUSION_PARAMETERS XAPOParameters;
	OcclusionXAPO* Occlus;
	IID apoIid;
	XAPO_REGISTRATION_PROPERTIES rep;

};